export class CommonConstant {

  /**
   * The host address of the server.
   */
  static readonly LOGIN_SERVER: string = 'http://43.143.252.116:8001/api';

  static readonly SERVER: string = 'http://192.168.31.198:9588';

  /**
   * The login constant
   */
  static readonly Login_MAIN_WIDTH: string = '80%';
  static readonly Login_MAIN_HEIGHT: string = '100%';
  static readonly Login_MAIN_OFFSET_X: string = '10%';
  static readonly Login_MAIN_SPACE: number = 15;
  static readonly Login_CAPTCHA_HEIGHT: string = '100%';
  static readonly Login_CAPTCHA_SHRINK: number = 0;
  //aspectRatio 160/60
  static readonly Login_CAPTCHA_ASPECT_RATIO: number = 160 / 60;
  static readonly Login_BUTTON_HEIGHT: string = '100%';


  /**
   * list
   */
  // The off set coefficient.
  static readonly Y_OFF_SET_COEFFICIENT: number = 0.15;
  // 下拉文字
  static readonly PULL_DOWN_TEXT: string = '松开刷新';
  // 松开文字
  static readonly PULL_RELEASE_TEXT: string = '刷新中';

  // 加载文字
  static readonly LOAD_TEXT: string = '上拉加载';
  // 加载文字
  static readonly LOADING_TEXT: string = '加载中';
  // 没有更多文字
  static readonly NO_MORE_TEXT: string = '没有更多了';
}